package com.itboy.service.impl;

import com.itboy.dao.Usermapper;
import com.itboy.pojo.User;
import com.itboy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private Usermapper usermapper;

    @Override
    public User findById(Integer id) {
        return usermapper.findById(id);
    }
}
